			<div class="container">
				<div class="category-form">
				<div class="page-header" style="position:relative;">
					<h3>Add Slide</h3>
				</div>
					<?php echo form_open_multipart('slide/add','class ="form-horizontal" ', 'id = "slide-form"'); ?>
                        <div class="control-group">
							<label class="control-label" for="slide_name">Slide Name<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="slide_name" id="slide_name" value="<?php echo set_value('slide_name'); ?>" />
                                <label class="error"><?php echo form_error('slide_name'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="slide_image">Image</label>
							<div class="controls">
								<input type="file" name="slide_image" id="slide_image" value="<?php echo set_value('slide_image'); ?>" />  
                                <label class="error"><?php echo form_error('slide_image'); ?></label>
							</div>
						</div>  
                        <hr />
                       	<div class="control-group">
							<label class="control-label" for="slide_description">Description</label>
							<div class="controls">
                                <textarea type="text" name="slide_description" id="slide_description" value=""><?php echo set_value('slide_description'); ?></textarea>
                                <label class="error"><?php echo form_error('slide_description'); ?></label>
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="status">Status</label>
							<div class="controls">
								<select name="status" id="status">
									<option value="1" selected="selected">Enabled</option>
									<option value="0">Disabled</option>
								</select>
                                <label class="error"><?php echo form_error('status'); ?></label>
							</div>
						</div>
                        <div class="form-actions">
                            <input class="btn btn-primary" id="submit" type="submit" value="Save Slide" />
                            <input class="btn" id="cancel" type="button" name="cancel" value="Cancel" onclick="self.history.back()" />     
                        </div>
                    <?php echo form_close(); ?>
				</div>
			</div>

		